package cn.tedu.ha;

import java.io.File;
import java.util.Arrays;
import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        String a=new Scanner(System.in).nextLine();
        File f=new File(a);
        File[] b=f.listFiles();
        System.out.println(Arrays.toString(b));
        long m=0;
        for(File x:b){
            if(f.isFile()){
                m=m+f.length();
            }else if(f.isDirectory()){
                System.out.println(f.getName());
            }
        }
        System.out.println();

    }
}
